import { ref, reactive } from 'vue'
import { indexForm } from '../type/role'

export function useData(params: any) {
  console.log(params);
}

/**
 * @description: 序号一条龙
 * @param {number} index
 * @param {indexForm} form
 * @return {*}
 */
export function indexMethods(index: number, form: indexForm) {
  return (form.page - 1) * form.pageSize + index + 1;
}
